import request from '@/utils/request'

const BASE_URL = '/erp/api/product_attr'

export function Post(id, data) {
  return request({
    url: `${BASE_URL}/${id || ''}`,
    headers: { 'content-type': 'application/json' },
    method: 'post',
    data: JSON.stringify(data)
  })
}
